<?php 
define('IN_QY',true);
session_start();
require("include/common.inc.php");

$id = $_POST['goodid'];

//数量变更
$sql = "update tbl_taorder set is_pay=4 where orderid='".$id."'";
$res = mysql_query($sql);
if ($res) {
	$arr = array('error'=>0,'msg'=>'添加成功！');
	echo json_encode($arr);
}